package com.iculture;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;

public class MyDialog extends Dialog {
	private Button share;
	private Button match;
	private Button ticket;
	private Button favorite;
	private TextView title;
	private TextView time;
	private TextView location;
	private TextView locationName;
	private TextView description;

	public MyDialog(Context context) {
		super(context);
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_dialog_layout);
		setupViewComponent();

	}

	private void setupViewComponent() {
		title = (TextView) findViewById(R.id.dialog_title);
		time = (TextView) findViewById(R.id.dialog_time);
		location = (TextView) findViewById(R.id.dialog_location);
		locationName = (TextView) findViewById(R.id.dialog_locationName);
		description = (TextView) findViewById(R.id.dialog_description);
		share = (BgButton) findViewById(R.id.btn_share);
		match = (BgButton) findViewById(R.id.btn_match);
		ticket = (BgButton) findViewById(R.id.btn_ticket);
		favorite = (BgButton) findViewById(R.id.btn_love);
	}
}